From cdad5edb462fcce37f00dffa3e4b5637f0ef832e Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 15 Nov 2007 22:14:13 +0000 Subject: [PATCH] xend: readDomTxn() and friends use dompath, not vmpath. Signed-off-by: Keir Fraser --- tools/python/xen/xend/XendDomainInfo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index faf3f9b041..79e2f85977 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -920,23 +920,23 @@ class XendDomainInfo: def readDomTxn(self, transaction, *args): - paths = map(lambda x: self.vmpath + "/" + x, args) + paths = map(lambda x: self.dompath + "/" + x, args) return transaction.read(*paths) def gatherDomTxn(self, transaction, *args): - paths = map(lambda x: self.vmpath + "/" + x, args) + paths = map(lambda x: self.dompath + "/" + x, args) return transaction.gather(*paths) def _writeDomTxn(self, transaction, *args): - paths = map(lambda x: self.vmpath + "/" + x, args) + paths = map(lambda x: self.dompath + "/" + x, args) return transaction.write(*paths) def _removeDomTxn(self, transaction, *args): - paths = map(lambda x: self.vmpath + "/" + x, args) + paths = map(lambda x: self.dompath + "/" + x, args) return transaction.remove(*paths) def storeDomTxn(self, transaction, *args): - paths = map(lambda x: self.vmpath + "/" + x, args) + paths = map(lambda x: self.dompath + "/" + x, args) return transaction.store(*paths) -- 2.30.2